PacketeryNette\Utils\Image C

Total Complexity 108
Dependencies 11
Dependents 1
Total lines 630
Lines of code 357
Logical lines of code 207
Comment lines 128
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
calculateSize()
B
43 16 46
output()
A
49 11 27
place()
A
43 9 47
__call()
A
49 10 29
resize()
A
51 8 26
calculateCutout()
S
52 7 25
fromBlank()
S
55 5 17
isPercent()
S
61 5 10
fromFile()
S
59 4 13
__toString()
S
61 4 11
setImageResource()
S
67 4 7
fromString()
S
61 3 12
save()
S
61 3 11
crop()
S
58 2 13
detectTypeFromFile()
S
73 2 4
detectTypeFromString()
S
73 2 4
typeToExtension()
S
69 2 6
__clone()
S
73 1 5
send()
S
75 1 4
rgb()
S
65 1 8
toString()
S
74 1 5
sharpen()
S
67 1 8
getImageResource()
S
82 1 3
getHeight()
S
80 1 3
getWidth()
S
80 1 3
__construct()
S
76 1 4
typeToMimeType()
S
79 1 3
__sleep()
S
78 1 3